<div class="col-sm-3 col-md-2 sidebar">
    <ul class="nav nav-sidebar">
        <li {if ($action=='index')}class="active"{/if}><a href="/index.php">面板</a></li>
        <li {if ($action=='sql')}class="active"{/if}><a href="/sql.php">SQL追踪</a></li>
        <li {if ($action=='tools')}class="active"{/if}><a href="/nav.php?name=tools">工具集</a></li>
        <li {if ($action=='doc')}class="active"{/if}><a href="/nav.php?name=doc">开发文档</a></li>
        <li {if ($action=='site')}class="active"{/if}><a href="/nav.php?name=site">自己站点</a></li>
    </ul>
    <!--<ul class="nav nav-sidebar">
        <li><a href="">Nav item</a></li>
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
        <li><a href="">More navigation</a></li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
    </ul>-->
</div>